package com.app.service;


import com.app.model.TrainTypeConfigModel;
import com.app.model.TrainTypeConfigSonModel;

import java.util.List;

/**
 * @Description: ***
 * @Author: N
 * @Date: 2022年11月24日10点26分
 */
public interface TrainTypeConfigSonService {



    List<TrainTypeConfigSonModel> getListByTrainId(Integer trainId);

    List<TrainTypeConfigSonModel> getListByTrainIdOnOne(Integer trainId);

    List<TrainTypeConfigSonModel> getCourseListByTrainIdAndConfigId(Integer trainId,Integer configId);

    List<TrainTypeConfigSonModel> getListByTypeId(Integer typeId);

    List<TrainTypeConfigSonModel> getListByTypeIdAndTrainId(Integer trainId,Integer typeId);

    TrainTypeConfigSonModel getModelById(Integer id);

    int insert(TrainTypeConfigSonModel model);

    void update(TrainTypeConfigSonModel model);

    void delete(Integer id);



}
